package com.liqi.web.controller.openapi.middleware;

import com.liqi.common.core.domain.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: lgh
 * @Date: 2022-11-22
 * @Description:
 */
@RestController
@RequestMapping("/openApi/middleware")
@Api(tags = "提供给中间件的接口")
public class TestConnection {

    @PostMapping("/testConnection")
    @ApiOperation("连接测试接口")
    public R testConnection(String deviceId,String ipAddress) {
        return R.ok();
    }
}
